package com.policenacorp.entity;

import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.Table;

import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Entity
//@Table(schema = "cap10_ex01", name = "TBFUNC")
@Table(name = "TBFUNC")
@ToString
@EqualsAndHashCode
public class Funcionario {

	@EmbeddedId
	@Getter
	@Setter
	private FuncionarioPK chave;

	@Getter
	@Setter
	private String nome;

}
